package model;

import java.util.List;

import org.mybeans.dao.DAOException;

import beans.User;

/*
 *  Course: S09-15437 - WEB APPLICATION DEVELOPMENT 
 * 	Name: Jiale Huang
 * 	Andrew ID: jialeh
 * 	Date: 2/23/2009
 *  Assignment: Hw4
 */


public interface UserDAO {

	public User create(String userEmail) throws DAOException;
	public User lookup(String userEmail) throws DAOException;
	public void setPassword(User user, String password) throws DAOException;
	public void update(User user) throws DAOException;
	public List<User> getUsers()throws DAOException;
}
